<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript 语法</title>
</head>
<body>
<h2>JavaScript 注释<b>不会</b>被执行。</h2>

<script>
  var x;
  x = 7;
  // x = 8; 我不会被执行
  document.getElementById("demo").innerHTML = x;
</script>

</body>
</html>